{% extends 'pybb/base.html' %}
{% load pybb_tags %}
{% load i18n %}

{% block pybb_content %}
<h1>{% trans "Users" %}</h1>
    <form method="get" class="filter_form">
        {{ form.query }}
        <input type="submit" value="{% trans "Search" %}" />
    </form>
<ul class="users">
    {% for profile in page.object_list %}
    <li class="user">
    <span class="author">{{ profile|pybb_profile_link }}</span>
    <span class="post_count">{{ profile.pybb_posts.count }}</span>
    <span class="updated">{{ profile.date_joined|date:"d M Y" }}</span>
    </li>
    {% endfor %}
</ul>

{% with _('Users') as label %}
{% include "pybb/pagination.html" %}
{% endwith %}

{% endblock %}
